package sjtu.ist.warehouse4ws.dao;

import java.util.List;

import sjtu.ist.warehouse4ws.model.ShiroPermission;
import sjtu.ist.warehouse4ws.model.ShiroRole;

public interface ShiroRoleDao {
	void saveShiroRole(ShiroRole role);
	List<ShiroRole> findByName(String name);
	void RoleSavePermission(ShiroRole role,ShiroPermission shiroPermission);   //在配置权限是，当前角色更新权限
}
